#include "SypEngine.h"

#ifdef CHECKMEM
#include "mmgr.h"
#endif
namespace Syp
{

Shader::Shader(const String& filename):Resource(filename),compiled(false)
{		
    SypEngine::loadFromFile(filename,source);
}


Shader::~Shader()
{
	Renderer::getRenderer().deleteShader(this);
}

bool Shader::getCompiledStatus()
{
	return compiled;
}
}
